// 获取菜单树
const menuTreeData = {
  "code": 200,
  "msg": '成功',
  "data": [
    {
      "menuId": 1,
      "parentId": 0,
      "name": "系统管理",
      "url": null,
      "perms": null,
      "type": 0,
      "icon": "el-icon-setting",
      "orderNum": 0,
      "level": 0,
      "children": [
        {
          "menuId": 2,
          "parentId": 1,
          "name": "用户信息",
          "parentName": "系统管理",
          "url": "/miniUser",
          "perms": null,
          "type": 1,
          "icon": "el-icon-service",
          "orderNum": 1,
          "delFlag": 0,
          "level": 1,
          "children": [{
            "menuId": 4,
            "parentId": 2,
            "name": "json绑定",
            "parentName": "用户信息",
            "url": null,
            "perms": 'wx:miniUser:del',
            "type": 2,
            "icon": null,
            "orderNum": 5,
            "delFlag": 0,
            "level": 2
          }]
        },
        {
          "menuId": 3,
          "parentId": 1,
          "name": "Json表",
          "parentName": "系统管理",
          "url": "/menu",
          "perms": null,
          "type": 1,
          "icon": "el-icon-news",
          "orderNum": 2,
          "delFlag": 0,
          "level": 1,
          "children": []
        }
      ]
    }
  ]
}
export function getMenu() {
  //console.log('menu.json');
  return {
    url: '/menu.json',
    type: 'get',
    data: menuTreeData
  }
}
